package top.jojoace.demo.api.v1;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import top.jojoace.demo2.dao.UserScan;

/**
 * @author 陈Ser
 * @ClassName ScanController
 * @description: TODO
 * @Date 2021/10/28 11:35
 * @Version 1.0
 */
@RestController
@ResponseBody
public class ScanController {
    @Autowired
    private UserScan userScan;

    @PutMapping("/hello")
    public Object scanSay(){
        this.userScan.sayClass();
        return userScan;
    }

}
